<h1>{$forumTitle}</h1>
<h2>{$searchResult} {$searchPhrase}</h2>

<table>
    <tr>
        <td><a href="{$listOfHallsLink}">{$listOfHalls}</a></td>
        <td><a href="{$contactAdminLink}">{$contantAdmin}</a></td>
        <td><a href="{$rulesLink}">{$rules}</a></td>
        <td><a href="{$helpLink}">{$help}</a></td>
        <td align="right">
            {$formStart}
            {$search}
            <input type="text" name="search" />
            <input type="submit" value="&raquo;" />
            </form>
        </td>
    </tr>
    <tr>
        <td colspan="5" align="right">
            {$paging}
            {displaytemplate template="pages" module="Forum" param=$pages}
        </td>
    </tr>
</table>

<table>
    {section name=post loop=$posts}
    <tr>
        <td width="17%" height="150" valign="top"><a href="{$posts[post].authorLink}">
            <strong>{$posts[post].author}</strong>
        </a></td>
        <td valign="top">
            {if $posts[post].title != ''}
                <strong>{$posts[post].title}</strong> |
            {/if}{$postSent} {$posts[post].created|date_format:"%d.%m.%Y %H:%M:%S"}
            <hr />
            {$posts[post].text}
        </td>
    </tr>
    {/section}
</table>

<table>
    <tr>
        <td><a href="{$listOfHallsLink}">{$listOfHalls}</a></td>
        <td><a href="{$contactAdminLink}">{$contantAdmin}</a></td>
        <td><a href="{$rulesLink}">{$rules}</a></td>
        <td><a href="{$helpLink}">{$help}</a></td>
        <td align="right">
            {$formStart}
            {$search}
            <input type="text" name="search" />
            <input type="submit" value="&raquo;" />
            </form>
        </td>
    </tr>
    <tr>
        <td colspan="5" align="right">
            {$paging}
            {displaytemplate template="pages" module="Forum" param=$pages}
        </td>
    </tr>
</table>